package com.beijing.cyou.model;

import lombok.Data;

import java.util.Date;

@Data
public class User {

	private Long id ;
	
	private String userName ; // email-prefix
	
	private String name ;	// chinese-name
	
	private String email ;
	
	private String duty ;
	
	private boolean gender ;
	
	private String mobile ;
	
	private String phone ;
	
	private boolean married ;
	
	private Date birthday ;
	
	private String department ;
	
	private Long departmentId ;
	
	private String company ;
	
	private Long companyId ;
	
	private String address ;
	
	private String otherFields ;
	
	public User() {
		super();
	}
	public User(String userName, String name) {
		this.userName = userName;
		this.name = name;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", userName=" + userName + ", name=" + name + "]";
	}
	
	
}
